//
//  MGYAlertView.h
//  AlertViewTool
//
//  Created by XiaoMing on 16/2/24.
//  Copyright © 2016年 XiaoMing. All rights reserved.
//

/*
 * 这个其实还是系统的提示框，只是适配了ios9
 */
#import <Foundation/Foundation.h>

typedef void (^AlertDecideBlock)(NSInteger buttonIndex);//点击按钮的Index

@interface MGYAlertView : NSObject

+ (nullable MGYAlertView *) sharedInstance;

+ (void)alertShowTitle:(nullable NSString *)title
               message:(nullable NSString *)message
     cancelButtonTitle:(nullable NSString *)cancelButtonTitle
     otherButtonTitles:(nullable NSString *)otherButtonTitles
                 block:(nullable AlertDecideBlock)alertBlock;

@end
